package com.tmsps.ne4weixin.bean.message.custom;

import com.tmsps.ne4weixin.bean.message.custom.vo.PTNews;
import com.tmsps.ne4weixin.config.enumeration.MsgTypeEnum;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Title: MpNewsMessage.java
 * @Package: com.tmsps.ne4weixin.bean.custom
 * @Description: 客服消息-发送图文消息（点击跳转到图文消息页面）
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class PTNewsMessage extends BaseMessage {

	/**
	 * 图文消息内容
	 */
	private PTNews ptnews;
	 
	public PTNewsMessage(String touser) {
		super(touser, MsgTypeEnum.MPNEWS);
	}
	
	public PTNewsMessage(String touser,PTNews ptnews) {
		super(touser, MsgTypeEnum.MPNEWS);
		this.ptnews = ptnews;
	}
}
